@import "elements.less";
@import "bootstrap/variables.less";
@import "bootstrap/mixins.less";

#design-tpl {
  width: 100%;
  border: none;
}

#editor {
  display: none;
}

.CodeMirror {
  line-height: 1.3em;
}

.CodeMirror-fullscreen {
  display: block;
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
}    

#editor-container, .api { display: none; }

.pw-toolbar {
  position: fixed;
  background-color: white;
  padding: 10px;
  top: 100px;
  right: 50px;
  z-index: 99999;
  width: 600px;
  .box-shadow(0px 0px 10px #888);

  .tab-content {
    overflow-y: auto;
    height: 280px;
  }

  .nav { cursor: move; }

  .btn-minimize {
    position: absolute;
    right: 1em;
    top: 1em;
  }

  .pw-components li img {
    margin-right: 5px;
  }

  .pw-components li div {
    height: 55px;
    overflow: hidden;
  }

} // .pw-toolbar

.pw-toolbar-minimized {
  height: 30px;
  overflow-y: hidden;
}

.pw-container {
  min-height: 2em;
  display: block;
  padding: 5px;
  margin: 5px;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 1px solid transparent;

//  .pw-component>.pw-drag-handler { border: none !important; }


} // .pw-container


.pw-component-active { 
  border: 1px dashed  @blue !important; 
}

.pw-component-droppable { 
  border: 1px dashed @green !important; 
}

.pw-component-dropping { 
  border: 1px dashed @red !important; 
}

.pw-component-unset { 
  .opacity();
}

.pw-component {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 1px solid transparent;
  position: relative;
  display: block;

  .pw-component-move { cursor: move; }

  //:hover>.pw-drag-handler { display: block; }

//    :hover {  }
} // .pw-component


/*
.pw-component:hover { border: 1px dashed #ddd; }
.pw-component:hover>.component-toolbar { display: block; }
*/

.component-toolbar
{
    position: absolute !important;
    top: 0px;
    left: 0px;
    background: rgba(190,190,190,0.7);  
    padding: 5px;
    display: none;
    z-index: 1000;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
       -moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);  
            box-shadow: 0 1px 3px rgba(0,0,0, .4);
}

.component-toolbar A {
   pointer-events: all !important;
   cursor: pointer;
}

A.no-follow {
   pointer-events: none;
   cursor: default;
   color: @grayLight;
   text-decoration: underline;
}

/*
.ui-sortable-placeholder {
  visibility: visible !important;
  //border: 1px dashed #333 !important;
}

.ui-sortable-placeholder * { visibility:hidden }
*/

/*
.pw-drag-handler { 
  display: none;
  background-color: white;
  position: absolute;
  width: 100%;
  cursor: move;
  z-index: 99999;
  line-height:2em;
  top: 0;
  left: 0;
}
*/



/////////////////


